import http from '@/service'
import {User} from "@/service/interface"
//用户登录
export const loginByJson = ( data:User.IloginByJson ):Promise<User.IData>=>{
    return http.post<User.IData>('/u/loginByJson', data ); 
}